package dao;

import dao.utils.HibernateUtil;

public class DAOFactory {
	
	public static ArticulosDAO getArticulosDAO(){
		return new ArticulosDAOImpl(HibernateUtil.getSession());
	}
	
	public static ClientesDAO getClientesDAO(){
		return new ClientesDAOImpl(HibernateUtil.getSession());
	}
	
	public static CompraDAO getCompraDAO(){
		return new CompraDAOImpl(HibernateUtil.getSession());
	}
	
	public static EmpleadosDAO getEmpleadosDAO(){
		return new EmpleadosDAOImpl(HibernateUtil.getSession());
	}
	
	public static LineaVentaDAO getLineaVentaDAO(){
		return new LineaVentaDAOImpl(HibernateUtil.getSession());
	}
	
	public static LineaVentaIdDAO getLineaVentaIdDAO(){
		return new LineaVentaIdDAOImpl(HibernateUtil.getSession());
	}
	
	public static OfertasDAO getOfertasDAO(){
		return new OfertasDAOImpl(HibernateUtil.getSession());
	}
	
	public static PartidasDAO getPartidasDAO(){
		return new PartidasDAOImpl(HibernateUtil.getSession());
	}
	
	public static ProveedorDAO getProveedorDAO(){
		return new ProveedorDAOImpl(HibernateUtil.getSession());
	}
	
	public static ReservasDAO getReservasDAO(){
		return new ReservasDAOImpl(HibernateUtil.getSession());
	}
	
	public static VentaDAO getVentaDAO(){
		return new VentaDAOImpl(HibernateUtil.getSession());
	}

}
